promot = '请输入年龄：'
age = 0
while True:
    age = int(input(promot))
    if age < 3:
        print('免费')
    elif 3 <= age < 12:
        print('10块')
    else:
        print('20块')

promot = '请输入数据：'
messgae = ''
while messgae != 'quit':
    messgae = input(promot)
    print(messgae)
print('over')
